package cn.net.xinyi.xs.model.hr;

import java.io.Serializable;

import cn.net.xinyi.xs.model.Tree;

public class Organization extends Tree implements Serializable {

	private static final long serialVersionUID = -2592613953065728431L;

	public static final long ROOT_ID = 1;

	private Integer type;

	private String typeName;

	private String code;

	private Integer sort;// no submit

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getTypeName() {
		return typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	@Override
	public boolean equals(Object o) {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public int hashCode() {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return null;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getSort() {
		return sort;
	}

	public void setSort(Integer sort) {
		this.sort = sort;
	}

}
